package icu.wdm.flinkcdc.mysql;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "source")
@Data
public class MySqlSourceProperties {
    private String name;
    private String host;
    private int port;
    private String username;
    private String password;
    private String databaseList;
    private String tableList;
    private String startDate;
    private String startUpMode="latest";//增量方式:latest,增量+全量:initial
}


